package com.cspm.ahjy.bc.office.word.domain;

/**
 * 段落中的艺术字，对应XML中的<w:r>标签下的<w:pict>
 * 
 * @author ServerZhang
 * @date 2017年9月27日
 */
public class MSPicture {

	private String title = ""; // 图片标题

	private String encircle = "";// 环绕方式
	private String msoPosition = "left";// 水平对齐方式
	private Double originalWidth = null;// 图片原始宽
	private Double originalHeight = null;// 图片原始高
	private Double width = null;// 图片宽
	private Double height = null;// 图片高
	private Double zoomWidth = null;// 缩放比例
	private Double zoomHeight = null;// 缩放比例
	private String strokeColor = null;// 线条颜色
	private String strokeStyle = null;// 线条样式
	private Integer strokeWeight = null;// 线条值
	
	private Boolean ablation = Boolean.FALSE;//冲蚀效果

	public MSPicture() {

	}
	
	/**
	 * 判断是否是相同图片
	 * @param font
	 * @return
	 * @author ServerZhang
	 * @date 2017年10月12日
	 */
	public Boolean maybeEquals(MSPicture picture){
		if (picture == null) {
			return Boolean.FALSE;
		}
		if (this.title.equals(picture.getTitle())) {
			return Boolean.TRUE;
		}
		return Boolean.FALSE;
	}

	
	public Boolean getAblation() {
		return ablation;
	}

	public void setAblation(Boolean ablation) {
		this.ablation = ablation;
	}

	public Double getOriginalWidth() {
		return originalWidth;
	}

	public void setOriginalWidth(Double originalWidth) {
		this.originalWidth = originalWidth;
	}

	public Double getOriginalHeight() {
		return originalHeight;
	}

	public void setOriginalHeight(Double originalHeight) {
		this.originalHeight = originalHeight;
	}

	public Double getZoomWidth() {
		return zoomWidth;
	}

	public void setZoomWidth(Double zoomWidth) {
		this.zoomWidth = zoomWidth;
	}

	public Double getZoomHeight() {
		return zoomHeight;
	}

	public void setZoomHeight(Double zoomHeight) {
		this.zoomHeight = zoomHeight;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getEncircle() {
		return encircle;
	}

	public void setEncircle(String encircle) {
		this.encircle = encircle;
	}

	public String getMsoPosition() {
		return msoPosition;
	}

	public void setMsoPosition(String msoPosition) {
		this.msoPosition = msoPosition;
	}

	public Double getWidth() {
		return width;
	}

	public void setWidth(Double width) {
		this.width = width;
	}

	public Double getHeight() {
		return height;
	}

	public void setHeight(Double height) {
		this.height = height;
	}

	public String getStrokeColor() {
		return strokeColor;
	}

	public void setStrokeColor(String strokeColor) {
		this.strokeColor = strokeColor;
	}

	public String getStrokeStyle() {
		return strokeStyle;
	}

	public void setStrokeStyle(String strokeStyle) {
		this.strokeStyle = strokeStyle;
	}

	public Integer getStrokeWeight() {
		return strokeWeight;
	}

	public void setStrokeWeight(Integer strokeWeight) {
		this.strokeWeight = strokeWeight;
	}

}
